<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List,java.util.Map;" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 

<table cellpadding="0" cellspacing="0" border="0" class="datatable cell-border">
	<thead>
		<tr>
			<th>IP</th><th>l_service</th><th>l_operate</th><th>l_time</th><th>l_user</th>
		</tr>
	</thead>
	<tbody>
	<c:set var="f" value="0" />
	<c:forEach var="e" items="${es }">
	<tr class='grade<c:if test="${f%2==0}">B</c:if><c:if test="${f%2!=0}">A</c:if>'>
		<td><a href="http://ip.taobao.com/service/getIpInfo.php?ip=${e.l_ip }" target="_blank">${e.l_ip }</a></td>
		<td>${e.l_service }</td>
		<td title="${e.l_input }">${e.l_operate }</td>
		<td>${e.l_time }</td>
		<td>${e.l_user }</td>
	</tr>
	</c:forEach>
	</tbody>
</table>

<script>
$(".datatable").dataTable(datatable_config);
</script>